package o;

import android.graphics.drawable.Drawable;
import android.view.View;
import android.widget.ImageView;
import androidx.appcompat.widget.SearchView;
import com.huawei.skinner.annotation.SkinAdapter;

public class gct {
    @SkinAdapter("closeIcon")
    public static void ˋ(SearchView searchView, Drawable drawable) {
        Object ˎ = fmt.ˎ(SearchView.class, searchView, "mCloseButton");
        if (ˎ != null && (ˎ instanceof ImageView)) {
            ((ImageView) ˎ).setImageDrawable(drawable);
        }
    }

    @SkinAdapter("goIcon")
    public static void ˊ(SearchView searchView, Drawable drawable) {
        Object ˎ = fmt.ˎ(SearchView.class, searchView, "mGoButton");
        if (ˎ != null && (ˎ instanceof ImageView)) {
            ((ImageView) ˎ).setImageDrawable(drawable);
        }
    }

    @SkinAdapter("searchIcon")
    public static void ˎ(SearchView searchView, Drawable drawable) {
        Object ˎ = fmt.ˎ(SearchView.class, searchView, "mSearchButton");
        if (ˎ != null && (ˎ instanceof ImageView)) {
            ((ImageView) ˎ).setImageDrawable(drawable);
        }
        ˎ = fmt.ˎ(SearchView.class, searchView, "mCollapsedIcon");
        if (ˎ != null && (ˎ instanceof ImageView)) {
            ((ImageView) ˎ).setImageDrawable(drawable);
        }
    }

    @SkinAdapter("searchHintIcon")
    public static void ˏ(SearchView searchView, Drawable drawable) {
        fmt.ˏ(SearchView.class, searchView, "mSearchHintIcon", drawable);
        fmt.ॱ(SearchView.class, searchView, "updateQueryHint", new Class[0], new Object[0]);
    }

    @SkinAdapter("voiceIcon")
    public static void ॱ(SearchView searchView, Drawable drawable) {
        Object ˎ = fmt.ˎ(SearchView.class, searchView, "mVoiceButton");
        if (ˎ != null && (ˎ instanceof ImageView)) {
            ((ImageView) ˎ).setImageDrawable(drawable);
        }
    }

    @SkinAdapter("queryBackground")
    public static void ʽ(SearchView searchView, Drawable drawable) {
        Object ˎ = fmt.ˎ(SearchView.class, searchView, "mSearchPlate");
        if (ˎ != null && (ˎ instanceof View)) {
            ((View) ˎ).setBackground(drawable);
        }
    }

    @SkinAdapter("submitBackground")
    public static void ᐝ(SearchView searchView, Drawable drawable) {
        Object ˎ = fmt.ˎ(SearchView.class, searchView, "mSubmitArea");
        if (ˎ != null && (ˎ instanceof View)) {
            ((View) ˎ).setBackground(drawable);
        }
    }
}
